package com.cowain.monitor.service;

import com.cowain.monitor.entity.ErpCompleteEntity;
import com.cowain.monitor.utils.R;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * PMS ehr-backend
 *
 * @Classname PmsCheckDemandService
 * @Description TODO
 * @Date 2020-07-28 13:43
 * @Created 沈科举
 */

public interface PmsCheckDemandService {
    /**
     * 查询所有未读信息
     * @param
     * @return
     */
    List<ErpCompleteEntity> findErpCmpleteEntityByIsdel();

    /**
     * 添加到成品入库表
     * @param erpCompleteEntities
     * @return
     */
    R addPmsCheckDemand(List<ErpCompleteEntity> erpCompleteEntities);



    /**
     * 根据id修改已读状态
     * @param erpCompleteEntity
     * @return
     */
    int updateErpCompleteEntityIsdel(List<ErpCompleteEntity> erpCompleteEntity);

}
